package br.com.lfm.academia.to.chave;

import java.io.Serializable;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;


public class HorarioDiaSemanaPk implements Serializable {
	
	/**
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
        return new ToStringBuilder(this)
            .toString();
    }

	/**
	 * @see java.lang.Object#equals(Object)
	 */
	@Override
    public boolean equals(Object other) {
        if (this == other) {
        	return true;
        }
        if (!(other instanceof HorarioDiaSemanaPk)) {
        	return false;
        }
        @SuppressWarnings("unused")
		HorarioDiaSemanaPk castOther = (HorarioDiaSemanaPk) other;
        return new EqualsBuilder()
            .isEquals();
    }

	/**
	 * @see java.lang.Object#hashCode()
	 */
	@Override
    public int hashCode() {
        return new HashCodeBuilder()
            .toHashCode();
    }
	
}
